From 4d2e4309f0778a2cb10753c54f7345972c92b508 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 20 Feb 2021 00:18:21 -0500 Subject: [PATCH] docs: Tweak css properties section Fix the use of definition lists. --- docs/reference/gtk/css-properties.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/reference/gtk/css-properties.md b/docs/reference/gtk/css-properties.md index c08bfbf696..d09141a395 100644 --- a/docs/reference/gtk/css-properties.md +++ b/docs/reference/gtk/css-properties.md @@ -15,13 +15,16 @@ spec. The following units are supported for basic datatypes: Length - : px, pt, em, ex, rem, pc, in, cm, mm, calc() +: px, pt, em, ex, rem, pc, in, cm, mm, calc() + Percentage - : %, calc() +: %, calc() + Angle - : deg, grad, turn, calc() +: deg, grad, turn, calc() + Time - : s, ms, calc() +: s, ms, calc() Length values with the em or ex units are resolved using the font size value, unless they occur in setting the font-size itself, in @@ -42,13 +45,16 @@ side of an area. In this case, the specified values are interpreted as follows: 4 values: - : top right bottom left +: top right bottom left + 3 values: - : top horizontal bottom +: top horizontal bottom + 2 values: - : vertical horizontal +: vertical horizontal + 1 value: - : all +: all ## Colors -- 2.30.2